package de.roon.weighttracker.db;

public class Weights {
	 
    //private variables
    int _id;
    double _date;
    double _weight;
    double _bmi;
 
    // Empty constructor
    public Weights(){
 
    }
    // constructor
    public Weights(int id, double date, double weight, double bmi){
        this._id = id;
        this._date = date;
        this._weight = weight;
        this._bmi = bmi;
    }
 
    // constructor
    public Weights(double date, double weight, double bmi){
    	this._date = date;
        this._weight = weight;
        this._bmi = bmi;
    }
    // getting ID
    public int getID(){
        return this._id;
    }
 
    // setting id
    public void setID(int id){
        this._id = id;
    }
 
    // getting date
    public double getDate(){
        return this._date;
    }
 
    // setting date
    public void setDate(double date){
        this._date = date;
    }
 
    // getting weight
    public double getWeight(){
        return this._weight;
    }
 
    // setting weight
    public void setWeight(double weight){
        this._weight = weight;
    }
    
    // getting bmi
    public double getBMI(){
        return this._weight;
    }
 
    // setting bmi
    public void setBMI(double bmi){
        this._bmi = bmi;
    }
}
